Skip to content

Conversation

@nzws
Copy link
Contributor

@nzws nzws commented Jul 19, 2025

Summary

Fixed the wrong commands in wrangler/commands.mdx. For reference, here is the actual Wrangler CLI help:

❯ yarn wrangler versions secret --help
wrangler versions secret

Generate a secret that can be referenced in a Worker

COMMANDS
  wrangler versions secret put [key]     Create or update a secret variable for a Worker
  wrangler versions secret bulk [file]   Create or update a secret variable for a Worker
  wrangler versions secret delete [key]  Delete a secret variable from a Worker
  wrangler versions secret list          List the secrets currently deployed

GLOBAL FLAGS
  -c, --config   Path to Wrangler configuration file  [string]
      --cwd      Run as if Wrangler was started in the specified directory instead of the current working directory  [string]
  -e, --env      Environment to use for operations, and for selecting .env and .dev.vars files  [string]
  -h, --help     Show help  [boolean]
  -v, --version  Show version number  [boolean]

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

Copilot AI review requested due to automatic review settings July 19, 2025 05:29
@nzws nzws requested review from a team, irvinebroque and kodster28 as code owners July 19, 2025 05:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an incorrect Wrangler CLI command in the documentation. The command for deleting secrets was missing the secret subcommand, which would result in the wrong command being referenced by users.

  • Corrects the wrangler versions delete command to wrangler versions secret delete in the documentation

@github-actions github-actions bot added product:workers Related to Workers product size/xs labels Jul 19, 2025
@kodster28 kodster28 enabled auto-merge (squash) July 21, 2025 13:48
@kodster28 kodster28 merged commit 5f40ff9 into cloudflare:production Jul 21, 2025
5 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Jul 21, 2025
@holopin-bot
Copy link

holopin-bot bot commented Jul 21, 2025

Congratulations @nzws, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cmdd6c1wg164207l7klrr2cvg

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small product:workers Related to Workers product size/xs wrangler-commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants